package com.heima.wemedia.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.pojos.WmChannel;
import com.heima.wemedia.mapper.WmChannelMapper;
import com.heima.wemedia.service.WmChannelService;
import org.springframework.stereotype.Service;

/**
 * impl 服务
 *
 * @author DiXiaoNie
 * @date 2022/12/21
 * @since 2022/12/21 20:39
 */
@Service
public class WmChannelServiceImpl extends ServiceImpl<WmChannelMapper, WmChannel> implements WmChannelService {
    /**
     * 全部
     *
     * @return {@link ResponseResult }
     * @author DiXiaoNie
     * @date 2022/12/21
     */
    @Override
    public ResponseResult findAll() {

        return ResponseResult.okResult(this.list());
    }
}
